Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Polish sectionTitle #10901

Merged
merged 1 commit into from
Sep 19, 2017
Merged

Polish sectionTitle #10901

merged 1 commit into from
Sep 19, 2017

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Sep 11, 2017

Closes #10900
Addresses #8235
Addresses #10898
Addresses #10899

  • Add white-space: nowrap
  • Replace display: inline-block with display: block
  • Replace Button with BrowserButton on history.js
  • Remove hacks on bookmarks.less and siteDetails.less by applying flex

Auditors:

Test Plan:

  1. Open about:history
  2. Open about:bookmarks
  3. Make sure the headers appear on the same place

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.

Test Plan:

Reviewer Checklist:

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

Closes #10900
Addresses #8235
Addresses #10898
Addresses #10899

- Add white-space: nowrap
- Replace display: inline-block with display: block
- Replace Button with BrowserButton on history.js
- Remove hacks on bookmarks.less and siteDetails.less by applying flex

Auditors:

Test Plan:
1. Open about:history
2. Open about:bookmarks
3. Make sure the headers appear on the same place
@luixxiul luixxiul added this to the 0.21.x (Nightly Channel) milestone Sep 11, 2017
@luixxiul luixxiul self-assigned this Sep 11, 2017
</div>
</div>
</div>
}
}

const styles = StyleSheet.create({
bookmarksManager__header: {
Copy link
Contributor Author

@luixxiul luixxiul Sep 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be deprecated with a component like <SiteDetailsPageHeader actions>.

@@ -16,26 +15,10 @@
width: 100%;
}

.siteDetailsPageHeader {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is deprecated with the flex.

.siteDetailsPageContent {
display: flex;
flex-wrap: wrap;
height: 100%;
margin: 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@@ -19,8 +18,6 @@ body {
padding: 0 @aboutPageSectionPadding;

.headerActions {
float: right;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Copy link
Contributor Author

@luixxiul luixxiul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left comments for references.

@luixxiul luixxiul added the priority/P4 Minor loss of function. Workaround usually present. label Sep 13, 2017
Copy link
Contributor

@cezaraugusto cezaraugusto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

@cezaraugusto cezaraugusto merged commit a11aac7 into brave:master Sep 19, 2017
@luixxiul luixxiul deleted the polish-sectionTitle branch September 20, 2017 03:26
@bbondy bbondy modified the milestones: 0.21.x (Developer Channel), 0.20.x (Beta Channel) Oct 25, 2017
@luixxiul luixxiul removed the priority/P4 Minor loss of function. Workaround usually present. label Oct 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants